﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Admin.Master" AutoEventWireup="true" CodeBehind="JogoListar.aspx.cs" Inherits="GamePlusAdmin.JogoListar" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h2>Jogos</h2>
    Pesquisar: <asp:TextBox runat="server" ID="txtPesquisa"></asp:TextBox>
    <asp:Button runat="server" ID="btnPesquisa" Text="Pesquisar" OnClick="btnPesquisa_Click" />
    <br /><br />
    <asp:GridView runat="server" ID="gvJogos" AutoGenerateColumns="False" 
        EnableModelValidation="True" DataKeyNames="Idf_Jogo" 
        OnRowDeleting="gvJogos_RowDeleting" OnRowEditing="gvJogos_RowEditing">
        <Columns>
            <asp:ImageField DataImageUrlField="Idf_Jogo" 
                DataImageUrlFormatString="http://www.otzee.com.br/images/games/000/001/006/logo_thumb.jpg"></asp:ImageField>
            <asp:BoundField HeaderText="Nome" DataField="Nme_Jogo" />
            <asp:CommandField ButtonType="Button" SelectText="Ver" DeleteText="Excluir" EditText="Editar" 
                ShowCancelButton="False" ShowDeleteButton="True" ShowEditButton="True" ShowSelectButton="True" />
        </Columns>
    </asp:GridView>
</asp:Content>
